ACPI/APEI: fix ERST MOVE_DATA instruction implementation
authorHuang Ying <ying.huang@intel.com>
Wed, 17 Oct 2012 12:12:06 +0000 (14:12 +0200)
committerHuang Ying <ying.huang@intel.com>
Wed, 17 Oct 2012 12:12:06 +0000 (14:12 +0200)
commitdf2cf6a726b815fafa12e503c9a36707c3962f22
treecc04e5665e2aa3f40f4fe89d4ea28d1a39f904f8
parentb6f2a5303932b0877706feb3221028dbed95b001
ACPI/APEI: fix ERST MOVE_DATA instruction implementation

The src_base and dst_base fields in apei_exec_context are physical
address, so they should be ioremaped before being used in ERST
MOVE_DATA instruction.

Reported-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Replace use of ioremap() by __acpi_map_table()/set_fixmap(). Fix error
handling.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/apei/erst.c